package wangxiaotao.enums;

import lombok.Getter;

@Getter
public enum AliPayCode {
    APISUCCESS(10000,"接口调用成功"),
    APIERROR(20000,"服务不可用"),
    UNPERMISSION(20001,"授权权限不足"),
    RCODE(40001,"缺少必选参数"),
    UNOKCODE(40002,"非法的参数"),
    PAYERROR(40004,"业务处理失败");

    private final Integer code;
    private final String message;

    AliPayCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
